package com.xqboss.apps.vo.sys;

import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.sys.JobConfigStateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 定时任务
 * </p>
 *
 * @author admin
 * @since 2024-03-11
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="JobTypeVo", description="定时任务类型")
public class JobTypeVo extends BaseTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "任务类型（1-加油运动场）")
    private JobConfigStateEnum state;

    @ApiModelProperty("定时任务类型名称")
    private String jobName;

    @ApiModelProperty("关闭任务数量")
    private Integer closeNum;

    @ApiModelProperty("开启任务数量")
    private Integer openNum;

    @ApiModelProperty("过期任务数量")
    private Integer expireNum;
}
